<style>
  .btn-outline-dark {
    --bs-btn-color: white;
    --bs-btn-border-color: white;
    --bs-btn-hover-color: white;
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-border-color: white;
    --bs-btn-focus-shadow-rgb: 33, 37, 41;
    --bs-btn-active-color: white;
    --bs-btn-active-bg: transparent;
    --bs-btn-active-border-color: white;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: white;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: white;
    --bs-gradient: none;
  }

  .blogs-body {
    position: absolute;
    bottom: 20px;
  }

  .blogs-div {
    margin-bottom: 57px;
  }

  .heros {
    position: relative;
    height: 100vh;
    /* Full-screen hero */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #heros-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent overlay */
    z-index: 2;
  }

  .heros-content {
    position: relative;
    z-index: 3;
    /* Content above video and overlay */
    color: white;
    text-align: center;
    padding: 0 20px;
  }
</style>
<style>
  /* Slider styles */
  .slider {
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  .slider-track {
    display: flex;
    transition: transform 0.6s ease;
  }

  .slider-card {
    flex: 0 0 100%;
    padding: 10px;
  }

  @media (min-width: 768px) {
    .slider-card {
      flex: 0 0 50%;
    }
  }

  @media (min-width: 992px) {
    .slider-card {
      flex: 0 0 25%;
    }
  }

  /* Buttons */
  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  #prevBtn {
    left: 5px;
  }

  #nextBtn {
    right: 5px;
  }

  @media (min-width: 768px) {

    #prevBtn,
    #nextBtn {
      position: static;
      transform: none;
    }
  }

  .rt {

    color: #fff;
    font-size: .875rem;
    line-height: 1.5rem;
    letter-spacing: .15em;
    text-transform: uppercase;
  }

  .rt:hover {
    text-decoration: underline;
    text-decoration-color: #fff;
  }



  /* Card Hover */
  .custom-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;

    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 2;
    height: 500px;
  }

  .custom-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b5d4d 0%, #009688 50%, #004d40 100%);
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.77, -0.04, 0, 0.99);
  }

  .custom-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b5d4d 0%, #009688 50%, #004d40 100%);
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.77, -0.04, 0, 0.99);
  }

  .custom-card:hover::after {
    top: 0;
  }

  .custom-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;

  }

  .custom-card:hover img {
    transform: scale(1.1);
    opacity: 0.25;
  }

  .card-overlayss {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.5s ease;
    z-index: 3;
    background-image: linear-gradient(0deg, black, transparent 50%);
  }

  .custom-card:hover .card-overlay h5,
  .custom-card:hover .card-overlay p {
    color: #fff;
  }

  .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f194c;
    transition: color 0.3s ease;
    line-height: 2.5rem;
    margin-bottom: .5rem;
  }


  .card-text {
    font-size: 0.95rem;
    color: #575a7b;
    line-height: 1.5rem;
    transition: color 0.3s ease;

  }


  .subtitlex {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    max-height: 8.125rem;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;

    font-size: 1.125rem;
    line-height: 1.8rem;
    letter-spacing: .03125rem;
    margin-bottom: 1rem;
  }

  .icon-link {

    color: #fff;
    font-size: .875rem;
    line-height: 1.5rem;
    letter-spacing: .15em;
  }

  .rt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .rt span {
    position: relative;
    display: inline-block;
  }

  .rt span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: #4db8ff;
    /* light blue underline */
    transition: width 0.3s ease;
  }

  .rt:hover {
    color: #4db8ff;
  }

  .rt:hover span::after {
    width: 100%;
    /* underline matches text width only */
  }

  .subtitlezxcz {

    font-size: 2rem;
    line-height: 2.5rem;
    margin-bottom: 2rem;
  }

  .bgh {
    top: -10px;
    left: 144px;
    background-color: transparent;
    height: 40px;
    width: 40px;
    border-top-left-radius: 24px;
    border-top: 10px solid #ffffff;
    border-left: 10px solid white;
  }

  .bgh-left {
    top: 69px;
    left: -10px;
    background-color: #00000000;
    height: 40px;
    width: 40px;
    border-top-left-radius: 24px;
    border-left: 10px solid white;
    border-top: 10px solid white;
  }







  /* Button overlay box */
  .imgds {
    padding: 3px 12px 16px;
    background: white;
    border-top-left-radius: 16px;
    border-bottom-right-radius: 8px;
  }

  .imgd {
    border-top-left-radius: 16px;
    border-bottom-right-radius: 8px;
  }

  .imgss {
    border-top-left-radius: 25px;
  }

  .position-relative {
    overflow: hidden;
    border-radius: 16px;
  }

  .blog-button {
    --bs-btn-color: #0b5d4d;
    --bs-btn-border-color: #0b5d4d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5d4d;
    --bs-btn-hover-border-color: #0b5d4d;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0b5d4d;
    --bs-btn-active-border-color: #0b5d4d;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #0b5d4d;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0b5d4d;
    --bs-gradient: none;
  }

  .bs {
    --bs-bg-opacity: 1;
    background-color: #0b5d4d !important;
  }


  .card-title-blog {

    font-size: 1.05rem;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    text-transform: capitalize;
    min-height: 48px;
  }

  .card-text-blog {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    min-height: 60px;
  }

  .blog-btn {
    border: 2px solid #0b5d4d;
    color: white;
    background-color: #0b5d4d;
    transition: 0.3s;
    font-weight: 600;
    border-radius: 30px;
  }

  .blog-btn:hover {
    border: 2px solid #0b5d4d;
    color: white;
    background-color: #0b5d4d;
    transition: 0.3s;
    font-weight: 600;
    border-radius: 30px;
  }

  .blog-btn:active {
    border: 2px solid #0b5d4d;
    color: white;
    background-color: #0b5d4d;
    transition: 0.3s;
    font-weight: 600;
    border-radius: 30px;
  }

 
 
  
    
</style>